﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace BookManagement
{
    public partial class FrmBookEdit : Form
    {
        public FrmBookEdit()
        {
            InitializeComponent();
        }

        private void FrmBookEdit_Load(object sender, EventArgs e)
        {
            var bookdate = new BookData()
            {
                ClmAuthorName = "test",
                ClmGenre = "test",
                ClmTitle = "test"
            };

            BindingSource bs = new BindingSource();
            bs.Add(bookdate);
            this.dataGridView1.DataSource = bs;

            
           
        }

        private void Edit_Click(object sender, EventArgs e)
        {
            
        }
    }
}
